package com.xzx.shop_front_api.service;

import com.xzx.shop_front_api.entity.Collection;
import com.xzx.shop_front_api.entity.SearchHistory;

import java.util.List;

public interface CollectionService {
    public int insertCollection(Collection collection);
    public Collection getCollectByMemberIdGoodsId(int memberId, int goodsId);

    int deleteCollection(int goodsId, int memberId);

    List<Collection> getMyCollection(int memberId,int page,int size);
}
